home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnome-panel.postinst < prev    next >
Text File  |  2009-10-19  |  837b  |  26 lines

  1. #!/bin/sh
  2.  
  3. # show note for people upgrading about the new fusa applet
  4. if [ "$1" = configure ] && dpkg --compare-versions "$2" le-nl "1:2.24.0-0ubuntu2" \
  5.     && [ -e /usr/share/gnome-panel/fusa-applet.note ];
  6. then
  7.     cp /usr/share/gnome-panel/fusa-applet.note /var/lib/update-notifier/user.d
  8. fi
  9.  
  10. # gconf default for the directory fixup
  11. if [ "$1" = configure ] && dpkg --compare-versions "$2" le-nl "1:2.24.1-0ubuntu2.1";
  12. then
  13.     echo "/apps/panel/need_directory_fixup true" > /usr/share/gconf/defaults/20_gnome_panel_directory_fixup
  14.     update-gconf-defaults
  15. fi
  16.  
  17. # gconf default for the indicator applet
  18. if [ "$1" = configure ] && dpkg --compare-versions "$2" le-nl "1:2.26.0-0ubuntu2";
  19. then
  20.     echo "/apps/panel/need_add_indicator_applet true" > /usr/share/gconf/defaults/25_gnome_panel_indicator_applet
  21.     update-gconf-defaults
  22. fi
  23.  
  24.  
  25.  
  26.